<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <link href="/sizheng/css/bootstrap.min.css" rel="stylesheet">
  <link href="/sizheng/css/clear.css" rel="stylesheet">
  <link href="/sizheng/css/login.css" rel="stylesheet">
  <script src="/sizheng/js/jquery.min.js"></script>
  <script src="/sizheng/js/bootstrap.min.js"></script>
  <script src="/sizheng/js/template.js"></script>
<!--   <script src="/sizheng/js/kangkangBasePath.js"></script> -->
  <script src="/sizheng/js/login.js"></script>
  <title>登录</title>
</head>

<body>
  <div class="box">
    <div class="head-tit text-center">
      <h3>浙江省高校思想政治理论网上工作平台</h3>

    </div>
    <div style="width:275px;margin:5px auto;">
      <!-- Nav tabs -->
      <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">账号登录</a></li>
        <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">手机号登录</a></li>
      </ul>

      <!-- Tab panes -->
      <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="home">
          <form class="form-horizontal" action="/login/loginUser" id="form" method="POST">
            <div class="form-group">
              <div class="col-sm-10">
                <input type="text" class="form-control usernumber  number" placeholder="账号" name="username">
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-10">
                <input type="password" class="form-control pass" placeholder="密码" name="password">
              </div>
            </div>

            <div class="form-group bottom">
              <div class="col-sm-10">
                <button type="button" class="btn btn-danger" onclick="login()">登录</button>
              </div>
            </div>
          </form>
        </div>
        <div role="tabpanel" class="tab-pane" id="profile">
          <form class="form-horizontal" action="/login/loginPhone" id="form1" method="POST">
            <div class="form-group">
              <div class="col-sm-10">
                <input type="text" class="form-control phonelogin-number" name="phoneNumber" placeholder="手机号">
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-10">
                <input type="text" class="form-control valcode" name="code" placeholder="验证码">
                <span class="send">发送</span>
              </div>
            </div>

            <div class="form-group bottom">
              <div class="col-sm-10">
               <button type="button" class="btn btn-danger"  onclick="login1()">登录</button>
              </div>
            </div>
          </form>
        </div>
      </div>

    </div>
  </div>
</body>

</html>
